<!doctype html>
<html> 
	<head> 
		<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> 
		<title>超好看的弹窗代码</title> 	
    	<link rel="stylesheet" type="text/css" href="css/xqalert.css"> <!--弹窗css-->
        <script src="https://lib.baomitu.com/jquery/1.12.4/jquery.min.js"></script> 
        <script src="js/xqalert.min.js"></script><!--弹窗js-->
	</head> 
	<body> 
      <script>
      const xqAlert = {
              code: 1, //1代表开起公告，0代表关
              bgColor: "#7FCAEA", //公告背景颜色
              bgImg: "https://tuchuangs.com/imgs/2022/09/28/b2f9a6037dc38a08.png", //背景图片
              floatImg: "https://tuchuangs.com/imgs/2022/09/28/f249469b1d918abb.png", //海豚图片
              fontColor: "#fff", //字体颜色
              congg: `<p>欢迎来自: <span id="cname" style="color: #632EFF"></span>的朋友</p>
              <p>访问日期: <span id="times"></span></p>
              <p>访问设备: <span id="so"></span></p>`  //自定义公告内容区
           }
  
     </script>		
	</body>
</html>